package com.zfjt.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.zfjt.dao.BrabchBeanMapper;
import com.zfjt.entity.BrabchBean;
import com.zfjt.service.BrabchService;

@Service
public class BrabchServiceIpml implements BrabchService{
	
	@Autowired
	private BrabchBeanMapper mBrabch;

	@Override
	public Integer deleteByPrimaryKey(String brabchId) {
		return mBrabch.deleteByPrimaryKey(brabchId);
	}

	@Override
	public Integer insert(BrabchBean record) {
		return mBrabch.insert(record);
	}

	@Override
	public Integer insertSelective(BrabchBean record) {
		return mBrabch.insertSelective(record);
	}

	@Override
	public BrabchBean selectByPrimaryKey(String brabchId) {
		return mBrabch.selectByPrimaryKey(brabchId);
	}

	@Override
	public Integer updateByPrimaryKeySelective(BrabchBean record) {
		return mBrabch.updateByPrimaryKeySelective(record);
	}

	@Override
	public Integer updateByPrimaryKey(BrabchBean record) {
		return mBrabch.updateByPrimaryKey(record);
	}

	@Override
	public List<BrabchBean> selectAll() {
		return mBrabch.selectAll();
	}

}
